
using System;
using System.Runtime.InteropServices;

namespace Windows7.DesktopIntegration.Interop
{
    [ComImport]
    [Guid("3C594F9F-9F30-47A1-979A-C9E83D3D0A06")]
    [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
    internal interface IApplicationDocumentLists
    {
        void SetAppID([MarshalAs(UnmanagedType.LPWStr)] string pszAppID);
        void GetList([MarshalAs(UnmanagedType.I4)] APPDOCLISTTYPE listtype,
                uint cItemsDesired, ref Guid riid, [Out, MarshalAs(UnmanagedType.Interface)] out object ppvObject);
    }

    public enum APPDOCLISTTYPE
    {
        ADLT_RECENT = 0,
        ADLT_FREQUENT = 1
    }
}